package com.pro.pojo;


import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class JsRole {

  private Integer trId;//角色主键id
  private String roleName;//角色名称
  private String roleDescirbe;//角色描述
  private Integer parentId;//父级角色id
  private Integer createId;//创建人
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date createDate;//创建时间
  private Integer updateId;//更新人
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date updateDate;//更新时间
  private Integer id;//id
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date applyDate;//发起时间
  private Integer launchId;//发起人id
  private Integer implementId;//执行人id
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date implementDate;//执行时间
  private String implementDatee;
  private Integer result;  //结果1、待审核2、已通过、3未通过
  private String remarks;  //备注
  private String position; //申请职务
  private String trueName;//用户名
  private Integer auditLogId; //id
  private String type;//审核类型 1.未通过 2.已通过


  public JsRole() {
    super();
  }

  public JsRole(Integer trId, String roleName, String roleDescirbe, Integer parentId, Integer createId, Date createDate, Integer updateId, Date updateDate, Integer id, Date applyDate, Integer launchId, Integer implementId, Date implementDate, String implementDatee, Integer result, String remarks, String position, String trueName, Integer auditLogId, String type) {
    this.trId = trId;
    this.roleName = roleName;
    this.roleDescirbe = roleDescirbe;
    this.parentId = parentId;
    this.createId = createId;
    this.createDate = createDate;
    this.updateId = updateId;
    this.updateDate = updateDate;
    this.id = id;
    this.applyDate = applyDate;
    this.launchId = launchId;
    this.implementId = implementId;
    this.implementDate = implementDate;
    this.implementDatee = implementDatee;
    this.result = result;
    this.remarks = remarks;
    this.position = position;
    this.trueName = trueName;
    this.auditLogId = auditLogId;
    this.type = type;
  }

  public Integer getTrId() {
    return trId;
  }

  public void setTrId(Integer trId) {
    this.trId = trId;
  }

  public String getRoleName() {
    return roleName;
  }

  public void setRoleName(String roleName) {
    this.roleName = roleName;
  }

  public String getRoleDescirbe() {
    return roleDescirbe;
  }

  public void setRoleDescirbe(String roleDescirbe) {
    this.roleDescirbe = roleDescirbe;
  }

  public Integer getParentId() {
    return parentId;
  }

  public void setParentId(Integer parentId) {
    this.parentId = parentId;
  }

  public Integer getCreateId() {
    return createId;
  }

  public void setCreateId(Integer createId) {
    this.createId = createId;
  }

  public Date getCreateDate() {
    return createDate;
  }

  public void setCreateDate(Date createDate) {
    this.createDate = createDate;
  }

  public Integer getUpdateId() {
    return updateId;
  }

  public void setUpdateId(Integer updateId) {
    this.updateId = updateId;
  }

  public Date getUpdateDate() {
    return updateDate;
  }

  public void setUpdateDate(Date updateDate) {
    this.updateDate = updateDate;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }

  public Date getApplyDate() {
    return applyDate;
  }

  public void setApplyDate(Date applyDate) {
    this.applyDate = applyDate;
  }

  public Integer getLaunchId() {
    return launchId;
  }

  public void setLaunchId(Integer launchId) {
    this.launchId = launchId;
  }

  public Integer getImplementId() {
    return implementId;
  }

  public void setImplementId(Integer implementId) {
    this.implementId = implementId;
  }

  public Date getImplementDate() {
    return implementDate;
  }

  public void setImplementDate(Date implementDate) {
    this.implementDate = implementDate;
  }

  public String getImplementDatee() {
    return implementDatee;
  }

  public void setImplementDatee(String implementDatee) {
    this.implementDatee = implementDatee;
  }

  public Integer getResult() {
    return result;
  }

  public void setResult(Integer result) {
    this.result = result;
  }

  public String getRemarks() {
    return remarks;
  }

  public void setRemarks(String remarks) {
    this.remarks = remarks;
  }

  public String getPosition() {
    return position;
  }

  public void setPosition(String position) {
    this.position = position;
  }

  public String getTrueName() {
    return trueName;
  }

  public void setTrueName(String trueName) {
    this.trueName = trueName;
  }

  public Integer getAuditLogId() {
    return auditLogId;
  }

  public void setAuditLogId(Integer auditLogId) {
    this.auditLogId = auditLogId;
  }

  public String getType() {
    return type;
  }

  public void setType(String type) {
    this.type = type;
  }

  @Override
  public String toString() {
    return "JsRole{" +
            "trId=" + trId +
            ", roleName='" + roleName + '\'' +
            ", roleDescirbe='" + roleDescirbe + '\'' +
            ", parentId=" + parentId +
            ", createId=" + createId +
            ", createDate=" + createDate +
            ", updateId=" + updateId +
            ", updateDate=" + updateDate +
            ", id=" + id +
            ", applyDate=" + applyDate +
            ", launchId=" + launchId +
            ", implementId=" + implementId +
            ", implementDate=" + implementDate +
            ", implementDatee='" + implementDatee + '\'' +
            ", result=" + result +
            ", remarks='" + remarks + '\'' +
            ", position='" + position + '\'' +
            ", trueName='" + trueName + '\'' +
            ", auditLogId=" + auditLogId +
            ", type='" + type + '\'' +
            '}';
  }
}
